<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>用户表单</title>
<meta name="renderer" content="webkit">
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
<link rel="stylesheet" href="../../layui/css/layui.css" media="all">
<script src="../../layui/layui.js" charset="utf-8"></script>
<script src="../../js/platManagement/plat.js" charset="utf-8"></script>
<script src="../../js/Utils.js" charset="utf-8"></script>
<script src="../../js/pdfobject.js" charset="utf-8"></script>
</head>
<style> 
</style>
<body>
<div id="conditionsDiv">
		<form class="layui-form" id="conditionsForm">
			<div class="layui-form-item">
				&nbsp;&nbsp;&nbsp;&nbsp; <span>平台名称：</span>
				<div class="layui-inline">
					<input class="layui-input" placeholder="请输入平台名称" name="nameText" id="nameText" autocomplete="off">
				</div>
				&nbsp;&nbsp;&nbsp;&nbsp; <span>平台编号：</span>
				<div class="layui-inline">
					<input class="layui-input" placeholder="请输入平台编号" name="numberText" id="numberText" autocomplete="off">
				</div>
				&nbsp;&nbsp;&nbsp;&nbsp;<input type="button" class="layui-btn layui-btn-sm layui-btn-normal" style="display:none" id="addPlat" value = "添加新平台"></input>
			</div>
		</form>
	</div>
	
    <table class="layui-hide" id="platTable" lay-filter="platTable"></table>
	
	<script type="text/html" id="toolbarPlat">
		
	</script>
	
	<!-- 添加平台的弹窗 -->
	<div class="layui-row" id="addPlatDiv" style="display: none">
		<div class="layui-col-md10">
			<form class="layui-form" id="addPlatForm">
			    <div class="layui-form-item" style="margin-top: 15px">
					<label class="layui-form-label">平台名称：</label>
					<div class="layui-input-block">
						<input type="text" id="platNameInput" class="layui-input">
					</div>
				</div>
				<div class="layui-form-item" style="margin-top: 15px">
					<label class="layui-form-label">平台编号：</label>
					<div class="layui-input-block">
						<input type="text" id="platNumberInput" class="layui-input">
					</div>
				</div>
	        </form>
	    </div>
	</div>   
	
	<div id="platProcessInstanceTableDiv"  style="display: none;margin-top: 15px;margin-left: 15px;margin-right: 15px;margin-bottom: 15px ">
	   <table class="layui-hide" id="platProcessInstanceTable" lay-filter="platProcessInstanceTable"></table>
	</div>
	
	<script type="text/html" id="barPlatProcessInstance">
		<a class="layui-btn layui-btn-normal layui-btn-xs" lay-event="details" style="margin-left: 15px">详情</a>
        <a class="layui-btn layui-btn-normal layui-btn-xs" lay-event="attachments" style="margin-left: 15px">附件</a>
	</script>
	
	<div id="platProcessInstanceFileTableDiv" style="display: none;">
	   <a type="button" class="layui-btn layui-btn-sm" href="javascript:downLoadMutilFilesToZip()" style="margin-top: 15px;margin-left: 30px;"><i class="layui-icon">&#xe601;</i>全部下载为压缩包</a>
	   <table class="layui-hide" id="platProcessInstanceFileTable" lay-filter="platProcessInstanceFileTable"></table>
	</div>
	
	<script type="text/html" id="barPlatProcessInstanceFile">
        <a class="layui-btn  layui-btn-xs" lay-event="downLoad">下载</a>
	</script>
	
	<div id="attachmentsTableDiv" style="display: none;">
	   <a type="button" class="layui-btn layui-btn-sm" href="javascript:downLoadAttachmentsFilesToZip()" style="margin-top: 15px;margin-left: 30px;"><i class="layui-icon">&#xe601;</i>全部下载为压缩包</a>
	   <table class="layui-hide" id="attachmentsTable" lay-filter="attachmentsTable"></table>
	</div>
	
	
	<script type="text/html" id="barAttachments">
        <a class="layui-btn  layui-btn-xs" lay-event="downLoad">下载</a>
	</script>

</body>	
</html>